from praisonaiagents import Agent

import npx_mcp_wrapper_main

search_agent = Agent(
    instructions="""You help book apartments on Airbnb.""",
    llm="gpt-5-nano",
    tools=npx_mcp_wrapper_main.MCP(
        command="npx",
        args=[
            "-y",
            "@openbnb/mcp-server-airbnb",
            "--ignore-robots-txt",
        ]
    )
)

search_agent.start("I want to book an apartment in Paris for 2 nights. 03/28 - 03/30 for 2 adults")